package thread;

class MyThread1 extends Thread{
    @Override
    public void run() {
        System.out.println("hello thread!");
    }
}
public class Demo1 {
    public static void main(String[] args) {
        MyThread1 t=new MyThread1();
        t.start();
        while (true){
            System.out.println("hello mian");
        }
    }
}
